package com.gxa.autoparts.core.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "tb_afterSale")
/**
 * 售后表
 */
public class AfterSale implements Serializable{

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Long id;
  @Column(name = "orderId")
  private Long orderId;
  @Column(name = "reason")
  private String reason;
  @Column(name = "state")
  // 多个状态
  private Integer state;
  private Order order;
  private List<String> afterImgList = new ArrayList<>();


}
